#include<iostream>
#include<string>

using namespace std;

struct	Massage 
{
	int num;
	string name;
	string impletment;
	Massage *next;	
};

void massage(Massage* massage)
{

	
}

void insert(Massage* massage)
{
	Massage* head = NULL;
	Massage* connect = NULL;
	connect = new Massage;
	cin>>connect->num>>connect->name>>connect->impletment;
	head = connect;
	while()
	{	
		connect = new Massage;
		cin>>connect->num>>connect->name>>connect->impletment;
	}
		
		
	
}
